# 文件合并
file = open(r"e:\file1.txt", "r")
a = file.read()
file.close()
file = file = open(r"e:\aaa.txt", "r")
b = file.read()
file.close()

file = open(r"e:\c.txt","w")
file.write(a + b)

file.close()